package cn.ddm.hrm.util;

/**
 * 对一个分组统计聚合结果进行封装
 */
public class AggsVo {
    private Long id; //tenantId courseTypeId ....
    private String key; //tenantName courseTypeName ...
    private Long count;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "AggsVo{" +
                "id=" + id +
                ", key='" + key + '\'' +
                ", count=" + count +
                '}';
    }

    public AggsVo(Long id, String key, Long count) {
        this.id = id;
        this.key = key;
        this.count = count;
    }
    public AggsVo(String key, Long count) {
        this.key = key;
        this.count = count;
    }
    public AggsVo() {
    }
}
